<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/4/27
 * Time: 12:20
 */

namespace app\common\model;


class BrowsingHistory extends BaseModel
{
    protected $createTime = false;
    protected $updateTime = false;

    public function message(){
        return $this->belongsTo('SysMessage','message_id','id')->field('id,title,image,browse_num,created_at');
    }
}